# -*- coding: UTF-8 -*-
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import Select
import time,json,requests,threading

driver = webdriver.Firefox()
driver.get('https://www.liepin.com/city-hz/zpdaoyoua/')

mobile=18573122260


boss=driver.find_element(By.CSS_SELECTOR,".header-quick-menu-not-login .ant-btn.ant-btn-primary.ant-btn-lg")
boss.click()
boss=driver.find_element(By.CSS_SELECTOR,".ant-input-affix-wrapper.ant-input-affix-wrapper-lg .ant-input.ant-input-lg")
boss.send_keys(mobile)
time.sleep(10)
while(True):
	boss=driver.find_element(By.CSS_SELECTOR,".get-smscode-btn.get-smscode-btn-active")
	boss.click()
	time.sleep(60)